projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8762e58
)
Fix shortname generation.
author
robertl
<robertl>
Thu, 3 Apr 2003 17:27:38 +0000
(17:27 +0000)
committer
robertl
<robertl>
Thu, 3 Apr 2003 17:27:38 +0000
(17:27 +0000)
csv_util.c
patch
|
blob
|
history
diff --git
a/csv_util.c
b/csv_util.c
index 1da64e47b30d5322998da3e8a8fcc498bc6c7809..aefebd80a1102b85ccde0d0d0e6ea03ea90b165c 100644
(file)
--- a/
csv_util.c
+++ b/
csv_util.c
@@
-590,7
+590,8
@@
xcsv_waypt_pr(const waypoint *wpt)
if ((anyname) && (global_opts.synthesize_shortnames)) {
char *oldname = anyname;
- anyname = mkshort(xcsv_file.mkshort_handle, oldname);
+ anyname = mkshort(xcsv_file.mkshort_handle,
+ wpt->notes ? wpt->notes : wpt->description);
xfree(oldname);
}